Grain
Add noise pattern to the image.
Node Data | |
|---|---|
Display name | |
Grain | |
Internal name | |
Node_Grain | |
Inheritances | |
| Node_Processor | |
| Node_Grain | |
Inputs | |
Node_Grain | |
toggle |
Channel |
seed |
|
surface |
Surface In |
surface |
Mask |
slider |
Mix |
enum |
Blend Mode |
slider |
Brightness |
enum |
Blend Mode |
slider |
Red |
slider |
Green |
slider |
Blue |
enum |
Blend Mode |
slider |
Hue |
slider |
Saturation |
slider |
Value |
Outputs | |
Node_Grain | |
surface |
Surface Out |
Attributes | |
| Color Depth | |
Apply a random color modification to the input surface. The modification can be on RGBA channels, HSV channels, or brightness value. It also can be additive or multiplicative.
Properties
Blend Mode
The blend mode to apply to the color modification. This can be either additive or multiplicative. - Additive mode will apply the value equally to the entire surface, giving a more uniform grain. - Multiplicative mode will be more pronounced on the brighter areas (higher value) of the surface.
Related Links
- Base Code: /scripts/node_grain/node_grain.gml
- Shader [sh_grain]: /shaders/sh_grain/sh_grain.fsh